package com.zy.smarthome.common.content;

/**
 * @author wjming
 */
public class RedisKey {
    /**
     * 数据拼接
     */
    public static String dataSplicing(String channelLongId) {
        return "data.splicing." + channelLongId;
    }

    /**
     * 网关信息与通道信息
     */
    public static String gatewayChannelRelation(String channelLongId) {
        return "gateway.channel.message." + channelLongId;
    }

    /**
     * 通道心跳数据
     */
    public static String heartbeat(String channelLongId) {
        return "channel.heartbeat." + channelLongId;
    }
}
